package com.ai.platform.business.web;


import com.ai.platform.core.annotation.RestInvokeService;
import com.ai.platform.core.controller.BaseController;
import com.ai.platform.model.dto.Output;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;

/**
 * 报表
 *
 * @author yeyingsheng
 * @since 2018-06-01
 */
@Controller
@RequestMapping("/business/busiReport")
public class BusiReportController extends BaseController{


    /**
     * 报表首页
     * @return
     */
    @RequestMapping("index")
    public String toReport(){
        return "business/report/report";
    }

    /**
     * 查询报表数据
     * @return
     */
    @RequestMapping("reportList")
    @RestInvokeService(serviceName = "busiReportServiceImpl",method = "reportList")
    public Output reportList(){
        return this.getOutput();
    }

}

